"""dj_shop URL Configuration
主应用路由
"""
from django.contrib import admin
from django.urls import path
from django.conf.urls import url, include

urlpatterns = [
    path('admin/', admin.site.urls),

    # 1.注册页面get，路由使用子路由进行匹配，总路由不进行匹配
    url(r'^', include('users.urls', namespace='users')),
    # 2.首页，内容页
    url(r'^', include('contents.urls', namespace='contents')),

    # 3.公共验证
    url(r'^', include('verification.urls', namespace='verification')),

    # 4.第三方Oauth授权
    url(r'^', include('oauth.urls', namespace='oauth')),
]
